Skip to content

Add version release, phased release, and rating reset settings#7

Merged
trmquang93 merged 2 commits intomainfrom
feature/version-release-settings
Mar 22, 2026
Merged

Add version release, phased release, and rating reset settings#7
trmquang93 merged 2 commits intomainfrom
feature/version-release-settings

Conversation

@trmquang93
Copy link
Copy Markdown
Contributor

Summary

  • Add interactive release settings sections to the version detail page (below Localizations), visible only for non-terminal versions
  • Version Release: radio group for Manual / After Approval / Scheduled release with datetime picker
  • Phased Release: toggle 7-day gradual rollout with progress bar, day counter, and pause/resume/complete controls
  • Rating Reset: toggle to reset app summary rating on release (write-only ASC API attribute, tracked with optimistic local state)
  • Backend: PATCH version attributes, POST/PATCH/DELETE phased release endpoints with cache invalidation
  • Version detail GET now includes phased release data via JSON:API include parameter

Test plan

  • Navigate to a non-terminal version (e.g., PREPARE_FOR_SUBMISSION) and verify all three sections render
  • Toggle release type radio buttons and confirm API call succeeds, detail refreshes
  • Select SCHEDULED and set a date, verify date saves correctly
  • Toggle phased release on/off, verify create/delete calls work
  • Toggle rating reset, verify PATCH succeeds
  • Navigate to a terminal version (READY_FOR_SALE) and confirm sections are hidden
  • Test error handling: verify inline error messages appear on failure
  • Test mobile layout: resize browser and verify responsive behavior

Add interactive settings sections to the version detail page that mirror
App Store Connect's release controls:

- Version Release: radio group to choose Manual, After Approval, or
  Scheduled release with date picker
- Phased Release: toggle 7-day gradual rollout with pause/resume/complete
  controls and progress indicator
- Rating Reset: toggle to reset app summary rating on release

Backend: PATCH version attributes, POST/PATCH/DELETE phased release
endpoints with cache invalidation. Version detail GET now includes
phased release data via JSON:API include.
…se-settings

# Conflicts:
#	src/components/VersionDetailPage.jsx
@trmquang93 trmquang93 merged commit 06adfbf into main Mar 22, 2026
@github-actions github-actions bot deleted the feature/version-release-settings branch March 22, 2026 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant